import Vue from "vue";
import ElementUI from "element-ui";
// 导入element-ui
import "element-ui/lib/theme-chalk/index.css";
import "ol/ol.css";
// 导入umy-ui
import UmyUi from "umy-ui";
import "umy-ui/lib/theme-chalk/index.css"; // 引入样式

import axios from "axios";
import VueAxios from "vue-axios";
import App from "./App.vue";
import router from "./router";
import store from "./store";

// 组件注册
Vue.use(ElementUI);
Vue.use(UmyUi);
Vue.use(VueAxios, axios);

Vue.config.productionTip = false;
new Vue({
    router,
    store,
    render: (h) => h(App),
}).$mount("#app");